package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.DictionaryDetail;
import cn.wolfcode.crm.domain.Dictionary;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface IDictionaryService {

    List<DictionaryDetail> selectDetailsByDicId(Long id);
    int deleteByPrimaryKey(Long id);

    int insert(Dictionary entity);

    Dictionary selectByPrimaryKey(Long id);

    List<Dictionary> selectAll();

    int updateByPrimaryKey(Dictionary entity);

    PageResult query(QueryObject qo);
}
